package 作业;

import java.util.Random;

public class 随机数打印 {
    public static void main(String[] args) {
        Random r = new Random();
        int[] arr = new int[5];

        arr[0] =r.nextInt(101);
        arr[1] =r.nextInt(101);
        arr[2] =r.nextInt(101);
        arr[3] =r.nextInt(101);
        arr[4] =r.nextInt(101);

        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}
